
import { baseUrl, doRequestPost, doRequestGet } from '../utils/request'

export function saveRecommandSetting(query) {
  return doRequestPost(baseUrl + 'recommend/conf/save' + '?time=' + (+new Date()), query)
}
export function getRecommandSetting() {
  return doRequestGet(baseUrl + 'recommend/conf/query?time=' + (+new Date()), {})
}

export function saveSplitflowSetting(query) {
  return doRequestPost(baseUrl + 'recommend/ab/save' + '?time=' + (+new Date()), query)
}

export function searchUserDetail(query) {
  return doRequestPost(baseUrl + 'recommend/list' + '?time=' + (+new Date()), query)
}
